package com.xiaotao.service;

import com.xiaotao.entity.Goods;
import com.xiaotao.util.ResponseUtil;

public interface GoodsService {
    ResponseUtil findAll(Integer pageNum,Integer pageSize);

    ResponseUtil findByMerchantId(Integer merchantId);

    ResponseUtil save(Goods goods);

    ResponseUtil update(Goods goods);

    ResponseUtil delete(Integer id);

    ResponseUtil findById(Integer id);
}
